import Layout from '@/layout'
export default {
    path: '/activity',
    component: Layout,
    redirect: 'noRedirect',
    name: 'activity',
    meta: {
      title: '活动管理',
      icon: 'table'
    },
    component: Layout,
    children: [
        {
            path: 'type',
            component: () => import('@/views/activity/activitytype'),
            name: 'acttype',
            meta: {
                title: '活动类型',
                icon: 'table'
            }
        }, {
            path: 'activity',
            component: () => import('@/views/activity/activity'),
            name: 'activity',
            meta: {
                title: '活动列表',
                icon: 'table'
            }
        }, {
            path: 'invite',
            component: () => import('@/views/activity/invite_detail'),
            name: 'invite',
            hidden: true,
            meta: {
                title: '邀请返佣',
                icon: 'table'
            }
        }, {
            path: 'reg_detail',
            component: () => import('@/views/activity/reg_detail'),
            name: 'reg_detail',
            hidden: true,
            meta: {
                title: '实名注册',
                icon: 'table'
            }
        }
    ]
}